package other.clone;

/**
 * @author hubb
 * @Date 2019/3/28 23:48
 */
public class CloneObject implements Cloneable{

    private String id;
    private String name;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    protected CloneObject clone() throws CloneNotSupportedException {
        CloneObject clone = null;
        clone = (CloneObject) super.clone();
        return clone;
    }

}
